﻿using RayDen.RayEngine.Core;
using RayDen.RayEngine.Core.Interface;
using RayDen.RayEngine.Managers;

namespace RayDen.RayEngine.Engines.ManyLights {
    public class DeviceRenderThread : DeviceRenderThread<PathBuffer> {
        internal MLEngineContext vpls;

        public DeviceRenderThread(int index, RayEngineScene scene) : base(index, scene) {}
        public DeviceRenderThread(int index, IIntersectionEngine device, RayEngineScene scn, bool lowLatency,
                                  IImageFilm pixelDevice, SamplingContext sc, MLEngineContext v, IFrameManager frameManager)
            : base(index, device, scn, lowLatency, pixelDevice, sc, frameManager)
        {
            vpls = v;
            _pathRayProcessors.vpls = v;
        }

    }

    public class ImageFilm : ImageFilm<MLPathSampler> {
        public ImageFilm(int width, int height) : base(width, height) {}
    }
}
